//
//  BankCardListViewModel.h
//  GLGW_Shoping
//
//  Created by whx on 2018/12/5.
//  Copyright © 2018年 yang. All rights reserved.
//
typedef NS_ENUM(NSInteger, ChooseCardType){
    ChooseCardType_Select     = 0, // 直接选中cell
    ChooseCardType_Return     = 1, // 选中返回
};

#import "GLGWBaseViewModel.h"
#import "BankCardModel.h"

NS_ASSUME_NONNULL_BEGIN
@interface BankCardListViewModel : GLGWBaseViewModel

@property (nonatomic, strong) BankCardModel *model;
@property (nonatomic, copy) void(^BlockChooseBank)(NSDictionary * __nullable dic);
@property (nonatomic, copy) void(^BlockAddCard)(GLGWButton * __nullable btn);
@property (nonatomic, copy) void(^BlockNoData)(void);
/**
 cell的点击效果
 */
@property (nonatomic, assign) ChooseCardType type;
/**
 刷新形式
 */
@property (nonatomic, assign) AddOrEditType refreshType;

- (void)removeNodata;

- (void)setEdit:(UIButton *)sender;
@end
NS_ASSUME_NONNULL_END
